
package com.zhongketech.sunflower.transport.dto;

/**
 * 用户登录返回结果类
 */
public class LoginJson extends BaseJsonBean {

    private String userCode;

    private String token;

    private UserInfo user;

    public LoginJson() {
    }

    public LoginJson(String userCode, String token, UserInfo user) {
        super();
        this.userCode = userCode;
        this.token = token;
        this.user = user;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }
}
